package com.Jano.mapper;

import com.Jano.entity.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @ClassName : MenuMapper
 * @Description :
 * @Author : Jano
 * @Date: 2022-07-25 19:56
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {
    /**
     *根据userId查询对应用户的权限
     * @author zoumaoji
     * @date 2022/07/25 19:58
     * @param id
     * @return java.util.List<java.lang.String>
     */
    List<String> selectPermsByUserId(Long id);
}
